package com.onlineMIS.ORM.DAO;

public class JspLoadResult {
	
    public static final String LOAD_RESULT = "LOAD_RESULT";//session键
    public static final String IS_RELOAD = "IS_RELOAD";//注意：检验页面是否是重新加载框架，如果是有文件（file)信息的页面，重新加载页面框架，会出现再次重复提交带文件表单信息的问题
    
	public static final int LOAD_RESULT_SUCCESS =0;//成功
	public static final int LOAD_RESULT_FAIL =1;//失败
	public static final int LOAD_RESULT_ABNORMAL =2;//异常
	public static final int LOAD_RESULT_INIT =3;//初始化
	
	private int code;
	private String msg;
		
	public JspLoadResult() {
		super();
	}
	public JspLoadResult(int code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	

}
